//
//  UIView+Color.m
//  DYHospital
//
//  Created by 胡金东 on 16/3/22.
//  Copyright © 2016年 胡金东. All rights reserved.
//

#import "UIView+Color.h"

@implementation UIView (Color)
-(void)setRadius:(CGFloat)radius borderWith:(CGFloat)borderWidth borderColor:(UIColor *)borderColor
{
    self.layer.masksToBounds = YES;
    self.layer.borderColor = borderColor.CGColor;
    self.layer.borderWidth = borderWidth;
    self.layer.cornerRadius = radius;
}

@end
